package day11;
import java.util.Scanner;
public class learn1 {
    public static void main(String[] args) {
        Scanner scn=new Scanner(System.in);
        //用户民
        System.out.println("请输入用户名:");
        String name= scn.next();
        System.out.println("请输入密码:");
        String passed= scn.next();
        if(name.length()>=5&&passed.length()>=6){
            System.out.println("注册成功");
        }else{
            System.out.println("用户名和密码的长度超过了");
        }

    }
}
